package com.hk.commons.entity.product;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "t_company_info")
public class Company implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3567501498192967867L;
	
	@Id
    @GeneratedValue (generator =  "paymentableGenerator" )    
    @GenericGenerator (name =  "paymentableGenerator" , strategy =  "increment" )   
	public Integer id;
	
	/** 公司名*/
	public String name;
	
	/** 公司简介*/
	@Column(length = 500)
	public String companyDes;
	
	public Integer companyType;
	
	public Integer getCompanyType() {
		return companyType;
	}

	public void setCompanyType(Integer companyType) {
		this.companyType = companyType;
	}

	/** 创建时间*/
	public Long cts = System.currentTimeMillis();
	
	/** 修改时间*/
	public Long upts;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCompanyDes() {
		return companyDes;
	}

	public void setCompanyDes(String companyDes) {
		this.companyDes = companyDes;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}

	public Long getUpts() {
		return upts;
	}

	public void setUpts(Long upts) {
		this.upts = upts;
	}
	

}
